package com.system.common.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.system.common.bean.Orders;

import java.util.List;

public interface IOrdersService {

    Orders getOrdersById(Integer id);

    void addOrders(Orders orders);

    void updateOrders(Orders orders);

    void deleteOrders(Integer id);

    Orders getOrdersByOrderNo(String orderNo);

    List<Orders> getOrdersList();

    IPage<Orders> getPage(Orders orders, Page<Orders> page);

}
